// 网格地图 - 需要权限控制的菜单
const gridmapJurisdictionRoutes = [
  {
    path: '/gridmap',
    name: 'gridmap',
    meta: {
      title: '网格地图'
    },
    component: () => import('@/views/Gridmap')
  }
]

// 网格地图 - 不需要权限控制的菜单
const gridmapWhiteRoutes = [
  {
    path: '/gridmap/buildingDetail',
    name: 'gridmap-buildingDetail',
    meta: {
      title: '楼栋详情'
    },
    component: () => import('@/views/Gridmap/BuildingDetail')
  },
  {
    path: '/gridmap/buildingRoom',
    name: 'gridmap-buildingRoom',
    meta: {
      title: '楼栋房屋'
    },
    component: () => import('@/views/Gridmap/BuildingRoom')
  },
  {
    path: '/gridmap/buildingPersonnel',
    name: 'gridmap-buildingPersonnel',
    meta: {
      title: '楼栋人员'
    },
    component: () => import('@/views/Gridmap/BuildingPersonnel')
  }
]
// 网格地图 - 菜单
const gridmapRoutes = [...gridmapJurisdictionRoutes, ...gridmapWhiteRoutes]

export { gridmapJurisdictionRoutes, gridmapWhiteRoutes, gridmapRoutes }
